<?xml version="1.0" encoding="UTF-8" ?>
<!--
*************************************************************************
* The contents of this file are subject to the Openbravo  Public  License
* Version  1.0  (the  "License"),  being   the  Mozilla   Public  License
* Version 1.1  with a permitted attribution clause; you may not  use this
* file except in compliance with the License. You  may  obtain  a copy of
* the License at http://www.openbravo.com/legal/license.html 
* Software distributed under the License  is  distributed  on  an "AS IS"
* basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
* License for the specific  language  governing  rights  and  limitations
* under the License. 
* The Original Code is Openbravo ERP. 
* The Initial Developer of the Original Code is Openbravo SL 
* All portions are Copyright (C) 2001-2006 Openbravo SL 
* All Rights Reserved. 
* Contributor(s):  ______________________________________.
************************************************************************
-->
<REPORT>
  <template file="ReportProductMovement.html"/>
  <PARAMETER id="paramToolBar" name="toolbar" default=""/>
  <PARAMETER id="fieldCalendar" name="calendar" attribute="src" replace="es" default="en"/>
  <PARAMETER id="paramDirection" name="direction" default=""/>
  <PARAMETER id="paramLanguage" name="paramLanguage" attribute="value"/>
  <PARAMETER id="paramDateFrom" name="dateFrom" attribute="value"/>
	<PARAMETER id="paramDateFrom" name="dateFromdisplayFormat" attribute="displayformat" replace="xx"/>
	<PARAMETER id="paramDateFrom" name="dateFromsaveFormat" attribute="saveformat" replace="yy"/>
  <PARAMETER id="paramDateTo" name="dateTo" attribute="value"/>
	<PARAMETER id="paramDateTo" name="dateTodisplayFormat" attribute="displayformat" replace="xx"/>
	<PARAMETER id="paramDateTo" name="dateTosaveFormat" attribute="saveformat" replace="yy"/>
  <PARAMETER id="paramBPartnerId" name="paramBPartnerId" attribute="value"/>
  <PARAMETER id="paramBPartnerDescription" name="bPartnerDescription" attribute="value"/>
  <PARAMETER id="paramProductId" name="mProduct" attribute="value"/>
  <PARAMETER id="paramProductDescription" name="productDescription" attribute="value"/>
  <PARAMETER id="parameterInOut" name="constantInout" default="-1"/>
  <PARAMETER id="paramInOut" name="inout" boolean="checked" withId="parameterInOut"/>
  <PARAMETER id="parameterInventory" name="constantInventory" default="-1"/>
  <PARAMETER id="paramInventory" name="inventory" boolean="checked" withId="parameterInventory"/>
  <PARAMETER id="parameterMovement" name="constantMovement" default="-1"/>
  <PARAMETER id="paramMovement" name="movement" boolean="checked" withId="parameterMovement"/>
  <PARAMETER id="parameterProduction" name="constantProduction" default="-1"/>
  <PARAMETER id="paramProduction" name="production" boolean="checked" withId="parameterProduction"/>
  <PARAMETER id="paramCSS" name="theme" attribute="href" replace="Default"/>
  <PARAMETER id="tdleftTabs" name="leftTabs" default=""/>
  <PARAMETER id="paramParentTabContainer" name="parentTabContainer" default=" "/>
  <PARAMETER id="paramMainTabContainer" name="mainTabContainer" default=" "/>
  <PARAMETER id="paramChildTabContainer" name="childTabContainer" default=" "/>
  <PARAMETER id="tdtopButtons" name="navigationBar" default=""/>
  <PARAMETER id="keyMap" name="keyMap" default=""/>
  <PARAMETER id="messageBoxID" name="messageType" attribute="class" replace="yy" default="HIDDEN"/>
  <PARAMETER id="messageBoxIDTitle" name="messageTitle" default=""/>
  <PARAMETER id="messageBoxIDMessage" name="messageMessage" default=""/>

  <PARAMETER id="param2" name="param2" default="2"/>

  <structure name="structure1">
    <FIELD id="fieldRownum1">rownum</FIELD>
    <FUNCTION id="funcEvenOddRow1xx" name="MODULE" arg1="fieldRownum1" arg2="param2" format="integerEdition" attribute="class" replace="yy"/>
    <FIELD id="fieldId" attribute="onclick" replace="xx">mInoutId</FIELD>
    <FIELD id="fieldId" attribute="onclick" replace="yy">out</FIELD>
    <FIELD id="fieldDocumentNo">documentno</FIELD>
    <FIELD id="fieldName">name</FIELD>
    <FIELD id="fieldPartnername">partnername</FIELD>
    <FIELD id="fieldMovementdate">movementdate</FIELD>
    <FIELD id="fieldMovementqty">movementqty</FIELD>
    <FIELD id="fieldXOrigin">xOrigin</FIELD>
    <FIELD id="fieldYOrigin">yOrigin</FIELD>
    <FIELD id="fieldZOrigin">zOrigin</FIELD>
    <FIELD id="fieldXDestiny">xDestiny</FIELD>
    <FIELD id="fieldYDestiny">yDestiny</FIELD>
    <FIELD id="fieldZDestiny">zDestiny</FIELD>
    <FIELD id="fieldOut">out</FIELD>
    <SECTION id="sectionPartner" field="partnername"/>
    <SECTION id="sectionDetail"/>
  </structure>
  <structure name="structure2">
    <FIELD id="fieldRownum2">rownum</FIELD>
    <FUNCTION id="funcEvenOddRow2xx" name="MODULE" arg1="fieldRownum2" arg2="param2" format="integerEdition" attribute="class" replace="yy"/>
    <FIELD id="fieldId2" attribute="onclick" replace="xx">mInventoryId</FIELD>
    <FIELD id="fieldId2" attribute="onmouseover" replace="yy">movementDescription</FIELD>
    <FIELD id="fieldMovement">movement</FIELD>
    <FIELD id="fieldName1">name</FIELD>
    <FIELD id="fieldPartnername1">partnername</FIELD>
    <FIELD id="fieldMovementdate1">movementdate</FIELD>
    <FIELD id="fieldMovementqty1">movementqty</FIELD>
    <FIELD id="fieldXOrigin1">xOrigin</FIELD>
    <FIELD id="fieldYOrigin1">yOrigin</FIELD>
    <FIELD id="fieldZOrigin1">zOrigin</FIELD>
    <FIELD id="fieldOut1">out</FIELD>
    <SECTION id="sectionPartner1" field="partnername"/>
    <SECTION id="sectionDetail1"/>
  </structure>
  <structure name="structure3">
    <FIELD id="fieldRownum3">rownum</FIELD>
    <FUNCTION id="funcEvenOddRow3xx" name="MODULE" arg1="fieldRownum3" arg2="param2" format="integerEdition" attribute="class" replace="yy"/>
    <FIELD id="fieldId3" attribute="onclick" replace="xx">mMovementId</FIELD>
    <FIELD id="fieldMovement2">movement</FIELD>
    <FIELD id="fieldName2">name</FIELD>
    <FIELD id="fieldPartnername2">partnername</FIELD>
    <FIELD id="fieldMovementdate2">movementdate</FIELD>
    <FIELD id="fieldMovementqty2">movementqty</FIELD>
    <FIELD id="fieldXOrigin2">xOrigin</FIELD>
    <FIELD id="fieldYOrigin2">yOrigin</FIELD>
    <FIELD id="fieldZOrigin2">zOrigin</FIELD>
    <FIELD id="fieldXDestiny2">xDestiny</FIELD>
    <FIELD id="fieldYDestiny2">yDestiny</FIELD>
    <FIELD id="fieldZDestiny2">zDestiny</FIELD>
    <FIELD id="fieldOut2">out</FIELD>
    <SECTION id="sectionPartner2" field="partnername"/>
    <SECTION id="sectionDetail2"/>
  </structure>
  <structure name="structure4">
    <FIELD id="fieldRownum4">rownum</FIELD>
    <FUNCTION id="funcEvenOddRow4xx" name="MODULE" arg1="fieldRownum4" arg2="param2" format="integerEdition" attribute="class" replace="yy"/>
    <FIELD id="fieldId4" attribute="onclick" replace="xx">mProductionplanId</FIELD>
    <FIELD id="fieldProductionPlan">productionPlan</FIELD>
    <FIELD id="fieldName3">name</FIELD>
    <FIELD id="fieldPartnername3">partnername</FIELD>
    <FIELD id="fieldMovementdate3">movementdate</FIELD>
    <FIELD id="fieldMovementqty3">movementqty</FIELD>
    <FIELD id="fieldXOrigin3">xOrigin</FIELD>
    <FIELD id="fieldYOrigin3">yOrigin</FIELD>
    <FIELD id="fieldZOrigin3">zOrigin</FIELD>
    <FIELD id="fieldXDestiny3">xDestiny</FIELD>
    <FIELD id="fieldYDestiny3">yDestiny</FIELD>
    <FIELD id="fieldZDestiny3">zDestiny</FIELD>
    <FIELD id="fieldOut3">out</FIELD>
    <SECTION id="sectionPartner3" field="partnername"/>
    <SECTION id="sectionDetail3"/>
  </structure>
</REPORT>
